List of 12
$ coefficients : Named num [1:2] 1.122 0.534
..- attr(*, "names")= chr [1:2] "(Intercept)" "sel$X"
$ residuals : Named num [1:49] -22.042 -5.477 -6.562 -0.995 8.574 ...
..- attr(*, "names")= chr [1:49] "1" "2" "3" "4" ...
$ effects : Named num [1:49] -177.69 69.57 -3.8 2.06 10.97 ...
..- attr(*, "names")= chr [1:49] "(Intercept)" "sel$X" "" "" ...
$ rank : int 2
$ fitted.values: Named num [1:49] 36.34 8.18 26.56 17 38.43 ...
..- attr(*, "names")= chr [1:49] "1" "2" "3" "4" ...
$ assign : int [1:2] 0 1
$ qr :List of 5
..$ qr : num [1:49, 1:2] -7 0.143 0.143 0.143 0.143 ...
.. ..- attr(*, "dimnames")=List of 2
.. .. ..$ : chr [1:49] "1" "2" "3" "4" ...
.. .. ..$ : chr [1:2] "(Intercept)" "sel$X"
.. ..- attr(*, "assign")= int [1:2] 0 1
..$ qraux: num [1:2] 1.14 1.27
..$ pivot: int [1:2] 1 2
..$ tol : num 1e-07
..$ rank : int 2
..- attr(*, "class")= chr "qr"
$ df.residual : int 47
$ xlevels : Named list()
$ call : language lm(formula = sel$Y ~ sel$X)
$ terms :Classes 'terms', 'formula' language sel$Y ~ sel$X
.. ..- attr(*, "variables")= language list(sel$Y, sel$X)
.. ..- attr(*, "factors")= int [1:2, 1] 0 1
.. .. ..- attr(*, "dimnames")=List of 2
.. .. .. ..$ : chr [1:2] "sel$Y" "sel$X"
.. .. .. ..$ : chr "sel$X"
.. ..- attr(*, "term.labels")= chr "sel$X"
.. ..- attr(*, "order")= int 1
.. ..- attr(*, "intercept")= int 1
.. ..- attr(*, "response")= int 1
.. ..- attr(*, ".Environment")=<environment: R_GlobalEnv>
.. ..- attr(*, "predvars")= language list(sel$Y, sel$X)
.. ..- attr(*, "dataClasses")= Named chr [1:2] "numeric" "numeric"
.. .. ..- attr(*, "names")= chr [1:2] "sel$Y" "sel$X"
$ model :'data.frame': 49 obs. of 2 variables:
..$ sel$Y: num [1:49] 14.3 2.7 20 16 47 4.3 46.8 23.2 8.6 8.7 ...
..$ sel$X: num [1:49] 65.9 13.2 47.6 29.7 69.8 41.6 51 56.7 44.8 67.2 ...
..- attr(*, "terms")=Classes 'terms', 'formula' language sel$Y ~ sel$X
.. .. ..- attr(*, "variables")= language list(sel$Y, sel$X)
.. .. ..- attr(*, "factors")= int [1:2, 1] 0 1
.. .. .. ..- attr(*, "dimnames")=List of 2
.. .. .. .. ..$ : chr [1:2] "sel$Y" "sel$X"
.. .. .. .. ..$ : chr "sel$X"
.. .. ..- attr(*, "term.labels")= chr "sel$X"
.. .. ..- attr(*, "order")= int 1
.. .. ..- attr(*, "intercept")= int 1
.. .. ..- attr(*, "response")= int 1
.. .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv>
.. .. ..- attr(*, "predvars")= language list(sel$Y, sel$X)
.. .. ..- attr(*, "dataClasses")= Named chr [1:2] "numeric" "numeric"
.. .. .. ..- attr(*, "names")= chr [1:2] "sel$Y" "sel$X"
- attr(*, "class")= chr "lm"